(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/kp-notice/index" ], {
    "09d8": function(n, t, e) {
        e.r(t);
        var o = e("d41a0"), i = e.n(o);
        for (var c in o) "default" !== c && function(n) {
            e.d(t, n, function() {
                return o[n];
            });
        }(c);
        t.default = i.a;
    },
    "0c3a": function(n, t, e) {
        e.d(t, "b", function() {
            return i;
        }), e.d(t, "c", function() {
            return c;
        }), e.d(t, "a", function() {
            return o;
        });
        var o = {
            uniIcons: function() {
                return Promise.all([ e.e("common/vendor"), e.e("uni_modules/uni-icons/components/uni-icons/uni-icons") ]).then(e.bind(null, "f6d5"));
            }
        }, i = function() {
            this.$createElement;
            this._self._c;
        }, c = [];
    },
    7126: function(n, t, e) {
        var o = e("7a2d");
        e.n(o).a;
    },
    "7a2d": function(n, t, e) {},
    8249: function(n, t, e) {
        e.r(t);
        var o = e("0c3a"), i = e("09d8");
        for (var c in i) "default" !== c && function(n) {
            e.d(t, n, function() {
                return i[n];
            });
        }(c);
        e("7126");
        var a = e("f0c5"), u = Object(a.a)(i.default, o.b, o.c, !1, null, "7ee54f36", null, !1, o.a, void 0);
        t.default = u.exports;
    },
    d41a0: function(n, t, e) {
        (function(n) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var o = {
                name: "UniNoticeBar",
                components: {
                    uniIcons: function() {
                        Promise.all([ e.e("common/vendor"), e.e("components/uni-iconss/uni-icons") ]).then(function() {
                            return resolve(e("2f2d"));
                        }.bind(null, e)).catch(e.oe);
                    }
                },
                props: {
                    text: {
                        type: String,
                        default: ""
                    },
                    moreText: {
                        type: String,
                        default: ""
                    },
                    backgroundColor: {
                        type: String,
                        default: "#fffbe8"
                    },
                    speed: {
                        type: Number,
                        default: 100
                    },
                    color: {
                        type: String,
                        default: "#de8c17"
                    },
                    moreColor: {
                        type: String,
                        default: "#999999"
                    },
                    single: {
                        type: [ Boolean, String ],
                        default: !1
                    },
                    scrollable: {
                        type: [ Boolean, String ],
                        default: !1
                    },
                    showIcon: {
                        type: [ Boolean, String ],
                        default: !1
                    },
                    showGetMore: {
                        type: [ Boolean, String ],
                        default: !1
                    },
                    showClose: {
                        type: [ Boolean, String ],
                        default: !1
                    },
                    fontSize: {
                        type: String,
                        default: "28rpx"
                    },
                    opacity: {
                        type: String,
                        default: "1"
                    }
                },
                data: function() {
                    return {
                        textWidth: 0,
                        boxWidth: 0,
                        wrapWidth: "",
                        webviewHide: !1,
                        elId: "Uni_".concat(Math.ceil(1e6 * Math.random()).toString(36)),
                        elIdBox: "Uni_".concat(Math.ceil(1e6 * Math.random()).toString(36)),
                        show: !0,
                        animationDuration: "none",
                        animationPlayState: "paused",
                        animationDelay: "0s"
                    };
                },
                mounted: function() {
                    var n = this;
                    this.$nextTick(function() {
                        n.initSize();
                    });
                },
                methods: {
                    initSize: function() {
                        var t = this;
                        if (this.scrollable) {
                            var e = [], o = new Promise(function(e, o) {
                                n.createSelectorQuery().in(t).select("#".concat(t.elId)).boundingClientRect().exec(function(n) {
                                    t.textWidth = n[0].width, e();
                                });
                            }), i = new Promise(function(e, o) {
                                n.createSelectorQuery().in(t).select("#".concat(t.elIdBox)).boundingClientRect().exec(function(n) {
                                    t.boxWidth = n[0].width, e();
                                });
                            });
                            e.push(o), e.push(i), Promise.all(e).then(function() {
                                t.animationDuration = "".concat(t.textWidth / t.speed, "s"), t.animationDelay = "-".concat(t.boxWidth / t.speed, "s"), 
                                setTimeout(function() {
                                    t.animationPlayState = "running";
                                }, 1e3);
                            });
                        }
                    },
                    loopAnimation: function() {},
                    clickMore: function() {
                        this.$emit("getmore");
                    },
                    close: function() {
                        this.show = !1, this.$emit("close");
                    },
                    onClick: function() {
                        this.$emit("click");
                    }
                }
            };
            t.default = o;
        }).call(this, e("543d").default);
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/kp-notice/index-create-component", {
    "components/kp-notice/index-create-component": function(n, t, e) {
        e("543d").createComponent(e("8249"));
    }
}, [ [ "components/kp-notice/index-create-component" ] ] ]);